<!DOCTYPE html>
<html>
	<head th:replace="/mobile/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>网吧食品经营监管系统</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/mobile/supplier/me/resubmit.css(css=${css})}"/>
		</th:block>
	</head>
	
	<body>
		<div class="page">
			<div class="title">
				<i class="fa fa-angle-left" onclick="onBackClick();"></i>
				<span>提交资料</span>
				<i class="fa fa-check-square-o" onclick="onSubmitClick();"></i>
			</div>
			<div class="content">
				<div class="weui-cells_input">
					<div class="placeholder"></div>
					<label class="sub-title">基本信息<span class="red">*</span></label>
					<div class="spliter"></div>
					<div class="row">
						<label>企业名称</label>
						<input id="entname" class="weui-input input" type="text" placeholder="请输入企业名称"/>
					</div>
					<div class="row">
						<label>营业执照号</label>
						<input id="buslicenseno" class="weui-input input" type="text" placeholder="请输入营业执照号"/>
					</div>
					<div class="row picture">
						<label class="newline">营业执照</label>
						<input id="buslicense" class="file" type="file" prop="fileInput"/>
						<input id="buslicenseSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择营业执照"/>
						<img id="buslicenseImg" th:src="@{{ctx}/static/image/mobile/noimg.png(ctx=${ctx})}"/>
					</div>
					<div class="row">
						<label>负责人</label>
						<input id="leader" class="weui-input input" type="text" placeholder="请输入负责人"/>
					</div>
					<div class="row">
						<label>联系电话</label>
						<input id="contactnumber" class="weui-input input" type="tel" placeholder="请输入联系电话"/>
					</div>
					<div class="row area">
						<label>所在区域</label>
						<div rowid="">
							<input id="provinceid" type="hidden"/>
							<input id="provinceidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="省"/>
							<input id="cityid" type="hidden"/>
							<input id="cityidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="市"/>
							<input id="districtid" type="hidden"/>
							<input id="districtidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="区县"/>
							<input id="streetid" type="hidden"/>
							<input id="streetidSelector" class="weui-input input area" type="text" readonly="readonly" prop="areaSelector" placeholder="街道"/>
						</div>
					</div>
					<div class="row">
						<label>详细地址</label>
						<input id="detailaddr" class="weui-input input" type="text" placeholder="请输入详细地址"/>
					</div>
					<div class="row picture">
						<label>食品经营许可证</label>
						<input id="folicense" class="file" type="file" prop="fileInput"/>
						<input id="folicenseSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择食品经营许可证"/>
						<img id="folicenseImg" th:src="@{{ctx}/static/image/mobile/noimg.png(ctx=${ctx})}"/>
					</div>
					<div class="placeholder"></div>
					<label class="sub-title">其他信息</label>
					<div class="spliter"></div>
					<div class="row picture">
						<label>检测报告</label>
						<input id="testreport" class="file" type="file" prop="fileInput"/>
						<input id="testreportSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择检测报告"/>
						<img id="testreportImg" th:src="@{{ctx}/static/image/mobile/noimg.png(ctx=${ctx})}"/>
					</div>
					<div class="row picture">
						<label>质量报告</label>
						<input id="qualityreport" class="file" type="file" prop="fileInput"/>
						<input id="qualityreportSelector" class="weui-input input" type="text" readonly="readonly" prop="fileSelector" placeholder="请选择质量报告"/>
						<img id="qualityreportImg" th:src="@{{ctx}/static/image/mobile/noimg.png(ctx=${ctx})}"/>
					</div>
					<div class="placeholder"></div>
					<label class="sub-title">配送区域<span class="red">*</span></label>
					<div class="spliter"></div>
				</div>
			</div>
		</div>
		
		<th:block th:replace="/mobile/common::common_toast_define"/>
		<th:block th:replace="/mobile/common::common_dialog_define"/>
		
		<script type="text/javascript" th:src="@{{js}/mobile/supplier/me/ResubmitHandler.js(js=${js})}"></script>
	</body>
</html>
